package com.jiyun.service;

import com.reading.pojo.Recharge;
import com.reading.pojo.RechargeDto;
import com.reading.pojo.RechargeVo;

import java.util.List;

public interface RechargeService {
    void saveRecharge(Recharge recharge);

    String getQrCodeUrl(String code) throws Exception;

    String orderquery(Recharge recharge) throws Exception;

    Recharge findOne(String code);

    void updateOne(RechargeVo rechargeVo);

    Recharge findById(Integer id);

    List<Recharge> findAll(RechargeDto rechargeDto);

    void saveExchange(Recharge recharge);

    String findAllExpenses(Integer id);
}
